package com.big.common.result;


/**
 * @auther 王军伟
 * @create 2019-10-04 14:00
 * @desc
 */
public enum SmsResultCodeEnum {
    SUCCESS(1, "请求成功"),
    NET_ERROR(-1, "网络异常"),
    BAD_REQ(0, "请求错误"),
    USER_LOGIN_ERROR4(1107, "验证码失效,请重新发送"),
    USER_CODE_ERROR(1103, "验证码不正确"),
    USER_LOGIN_ERROR3(1106, "验证码获取过于频繁，请 & 秒后点击【重新获取】尝试"),
    USER_CODE_TOOMANY(1109, "今日获取验证码次数已达上限"),
    sms_send_error(1110,"验证码发送失败");

    private int code;
    private String msg;

    private SmsResultCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return this.code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
